<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/6/2
  Time: 17:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  isELIgnored="false" %>
<html>
<head>
    <title>所有用户查询</title>
</head>
<body>
<h2>所有用户查询</h2>
<hr>

<table> 
    <tr>
        <td>序号</td>
        <td>id</td>
        <td>用户名</td>
        <td>密码</td>
    </tr>
<c:forEach items="${list}" var="user" begin="0" varStatus="status">
    <tr>
        <td>${status.count}</td>
        <td>${user.id}</td>
        <td>${user.username}</td>
        <td>${user.pass}</td>
    </tr>
</c:forEach>

    <hr>

</table>
</body>
</html>
